#include <iostream>

using namespace std;

long long findThreeMax(long long a, long long b, long long c) {
    if (a > c) {
        if (a > b) {
            return a;
        } else {
            return b;
        }
    } else {
        if (c > b) {
            return c;
        } else {
            return b;
        }
    }
}

int main() {

    long long n;
    cin >> n;

    for (long long i = 1; i <= n; ++i) {
        cout << findThreeMax(i, 2 * (n - i), 2 * (i - 1)) << endl;
    }

    return 0;
}